td {
    padding: 20px 40px;
}

table,
td {
    border-collapse: collapse;
}

table tr:nth-child(odd) {
    background: red;
}

table tr:nth-child(even) {
    background: blue;
}